package com.neuedu.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.neuedu.dao.AdminDao;
import com.neuedu.model.Admin;
import com.neuedu.service.AdminService;

@Service
public class AdminServiceImpl implements AdminService {
	// 依赖注入
		@Autowired
		private AdminDao adminDao;
		public void setDeviceDao(AdminDao adminDao) {
			this.adminDao = adminDao;
		}
		@Override
		public Admin findUserMessageByName(Admin u) {
			// TODO Auto-generated method stub
			return adminDao.findUserMessageByName(u);
		}
		
}
